<template>
  <el-config-provider :locale="zhCn">
    <router-view></router-view>
  </el-config-provider>
</template>
<script setup lang="ts">
import { useTheme } from "@/hooks/useTheme";
import { useUpdateCheck } from '@/hooks/useUpdateCheck'
import zhCn from "element-plus/es/locale/lang/zh-cn";
const { checkUpdate } = useUpdateCheck()
// 使用主题
useTheme();
checkUpdate()
</script>